<?php
/**
 * Author: ChenGuangHui
 * Email：13035809409@163.com
 * Date Time: 2022/04/13 11:00
 */

namespace App\Models;

use App\Models\Model;

/**
 * App\Models\BlindBox
 *
 * @property int $id
 * @property string $title 盲盒标题
 * @property string $price 盲盒价格
 * @property int $status 状态：0 、下架, 1、上架
 * @property int $sort 排序
 * @property int $buy_num 购买人数
 * @property string $thumb 盲盒封面
 * @property string $content 盲盒规则
 * @property string $md_content 盲盒规则
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 修改时间
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox query()
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereBuyNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereMdContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereThumb($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|BlindBox whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class BlindBox extends Model
{
    
    protected $connection = 'store';

    protected $table = 'store_blind_box';

    protected $primaryKey = 'id';
    
    protected $guarded = [];
}
